package com.ls.fw.data.support.conf;

public class SolrConnectionParams {
    /**
     * Solr connection mode: "cloud" or "classic".
     */
    public static final String MODE = "solr.mode";

    /**
     * If {@link #MODE} is cloud, this specifies the zookeeper to connect to (including a chroot like '/solr'
     * at the end of the ensemble, if necessary).
     */
    public static final String ZOOKEEPER = "solr.zk";

    /**
     * If {@link #MODE} is cloud, this specifies the name of the SolrCloud connection to send requests to.
     */
    public static final String COLLECTION = "solr.collection";

    /**
     * Solr shard prefix
     */
    public static final String SOLR_SHARD_PREFIX = "solr.shard.";

    /**
     * The sharder type ("default", or a fully qualified class name of a Sharder implementation)
     */
    public static final String SHARDER_TYPE = "solr.sharder";

    /**
     * The maximum number of connections per host per indexer {@see org.apache.http.client.impl.conn.PoolingClientConnectionManager})
     */
    public static final String MAX_CONNECTIONS_PER_HOST = "solr.conn.maxPerHost";

    /**
     * The maximum number of connections per indexer (@see {@see org.apache.http.client.impl.conn.PoolingClientConnectionManager})
     */
    public static final String MAX_CONNECTIONS = "solr.conn.max";

}
